package com.ztgf.file.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.ztgf.common.dto.BaseDTO;

/**
 * 文件信息表DTO
 *
 * @author mxli
 * @Date 2020-07-10 14:19:43
 */
@Data
@TableName("file_info")
@ApiModel(value="文件信息表对象", description="文件信息表对象")
public class FileInfoDTO extends BaseDTO implements Serializable {


    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "用户id")
    private Long fileUserId;
    @ApiModelProperty(value = "子用户id")
    private Long childUserId;
    @ApiModelProperty(value = "文件路径")
    private String fileUrl;
    @ApiModelProperty(value = "文件名称")
    private String fileName;
    @ApiModelProperty(value = "文件后缀 .jpeg")
    private String fileExtName;
    @ApiModelProperty(value = "类型 0图片、1文件")
    private Integer type = 0;
    @ApiModelProperty(value = "类型 0其他、1商品、2商品详情、3资质、4评论、5banner")
    private Integer businessType = 0;
    @ApiModelProperty(value = "子类型 0原图、1子文件")
    private Integer childType = 0;
    @ApiModelProperty(value = "水印 wm")
    private String watermark;
    @ApiModelProperty(value = "文件大小 单位kb")
    private Long fileSize = 0L;
    @ApiModelProperty(value = "图片规格 200*200")
    private String imgSpecification;

    @ApiModelProperty(value = "是否使用 0未使用、1已使用")
    private Integer isUse = 0;
    @ApiModelProperty(value = "是否缩放 0不缩放、1缩放")
    private Integer isZoom = 0;
    @ApiModelProperty(value = "是否加水印 0不加、1加")
    private Integer isMark = 0;
    @ApiModelProperty(value = "0不处理、1未处理、2处理中、3处理成功、4处理失败")
    private Integer processStatus = 0;
    @ApiModelProperty(value = "父级ID")
    private Long parentId = 0L;
}